github.com/jackc/pgx/v5/pgproto3.chunkReader.rp (field)
18 uses
github.com/jackc/pgx/v5/pgproto3 (current package)
chunkreader.go#L18: rp, wp int // buf read position and write position
chunkreader.go#L47: if r.rp == r.wp {
chunkreader.go#L52: r.rp = 0
chunkreader.go#L57: if (r.wp - r.rp) >= n {
chunkreader.go#L58: buf = (*r.buf)[r.rp : r.rp+n : r.rp+n]
chunkreader.go#L59: r.rp += n
chunkreader.go#L66: r.wp = copy((*bigBuf), (*r.buf)[r.rp:r.wp])
chunkreader.go#L67: r.rp = 0
chunkreader.go#L73: minReadCount := n - (r.wp - r.rp)
chunkreader.go#L75: r.wp = copy((*r.buf), (*r.buf)[r.rp:r.wp])
chunkreader.go#L76: r.rp = 0
chunkreader.go#L87: buf = (*r.buf)[r.rp : r.rp+n : r.rp+n]
chunkreader.go#L88: r.rp += n
frontend.go#L460: return f.cr.wp - f.cr.rp
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)